<?php
/**
 * +--------------------------------------------------------+
 * @Created by Phpstorm.
 * @Category WsDataFrame.php
 * @Depiction
 * @Author hwy <429208948@qq.com>
 * @Date 2022/7/1  17:42
 * +--------------------------------------------------------+
 */

namespace App\Util;


class WsDataFrame
{
    /**
     * @var int $opcode
     */
    public $opcode;

    /**
     * @var int $fin 标识数据包是否已结束
     */
    public $fin;

    /**
     * @var int $status 关闭时的状态码，如果有的话
     */
    public $status;

    /**
     * @var string 数据包携带的数据
     */
    public $playload;
}
